<?xml version="1.0" encoding="gb2312"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  <xsl:output method="html" indent="no" encoding="gb2312" />
  <xsl:param name="sortCol" />
  <xsl:template match="/grid">
    <table id="gridBar" cellpadding="0" cellspacing="0" class="gridBar">
      <tr id="trHeader" height="22">
        <xsl:for-each select="row/cell">
          <td class="header">
            <xsl:attribute name="field">
              <xsl:value-of select="@field" />
            </xsl:attribute>
            <xsl:if test="@width">
              <xsl:attribute name="width">
                <xsl:value-of select="@width" />
              </xsl:attribute>
            </xsl:if>
            <nobr>
              <xsl:value-of select="@title" />
            </nobr>
          </td>
          <xsl:if test="position() != last()">
            <td class="gridSpacer">
              <img src="../imgs/bar_line.gif" />
            </td>
          </xsl:if>
        </xsl:for-each>
      </tr>
    </table>
  </xsl:template>
</xsl:stylesheet>